import InputText from './InputText.vue'
import InputPassword from './InputPassword.vue'
import InputTextarea from './InputTextarea.vue'
import InputNumber from './InputNumber.vue'
import InputRate from './InputRate.vue'
import InputSwitch from './InputSwitch.vue'
import InputSelect from './InputSelect.vue'
import InputCheckbox from './InputCheckbox.vue'
import InputCheckboxGroup from './InputCheckboxGroup.vue'
import InputRadio from './InputRadio.vue'
import InputRadioGroup from './InputRadioGroup.vue'
import InputCombo from './InputCombo'
import InputRichEditor from './InputRichEditor.vue'
import InputImageUpload from './InputImageUpload'
import {DatePicker as InputDatePicker} from './InputDatePicker'
import InfoImage from './InfoImage.vue'
import InfoText from './InfoText.vue'
import InfoRichText from './InfoRichText.vue'

let exportObject = {
  InputPassword,
  InputText,
  InputTextarea,
  InputNumber,
  InputRate,
  InputSwitch,
  InputSelect,
  InputCheckbox,
  InputRadio,
  InputRadioGroup,
  InputCheckboxGroup,
  InputCombo,
  InputImageUpload,
  InputDatePicker,
  InputRichEditor,
  InfoImage,
  InfoText,
  InfoRichText,
  RegComponent: regComponent
}

function regComponent (name, component) {
  exportObject[name] = component
}

export default exportObject
